<template>
  <div class="app-container">
    <iframe :src="url" width="100%" height="100%" frameborder="0"></iframe>
  </div>
</template>
<script setup lang="ts">
const baseurl = ref(import.meta.env.VITE_APP_API_URL);
const url = baseurl.value + "/wz/druid/login.html";
console.log(url);
</script>
<style lang="scss" scoped>
/** 关闭tag标签  */
.app-container {
  /* 50px = navbar = 50px */
  height: calc(100vh - 50px);
}

/** 开启tag标签  */
.hasTagsView {
  .app-container {
    /* 84px = navbar + tags-view = 50px + 34px */
    height: calc(100vh - 84px);
  }
}

iframe {
  width: 100%;
  height: 100%;
}
</style>

<!-- <template>
  <i-frame :src="url" />
</template>
<script>
import iFrame from "@/components/iFrame/index";
export default {
  name: "Druid",
  components: { iFrame },
  data() {
    return {
      url: process.env.VITE_APP_API_URL + "/wz/druid/login.html",
    };
  },
};
</script> -->
